package com.kclm.xsap.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kclm.xsap.dao.ClassRecordDao;
import com.kclm.xsap.entity.ClassRecordEntity;
import com.kclm.xsap.service.ClassRecordService;
import com.kclm.xsap.vo.ClassRecordVo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ClassRecordServiceImpl extends ServiceImpl<ClassRecordDao, ClassRecordEntity> implements ClassRecordService {
    @Override
    public int count(QueryWrapper<ClassRecordEntity> eq) {
        return baseMapper.selectCount(eq);
    }


    @Override
    public List<ClassRecordEntity> list(QueryWrapper<ClassRecordEntity> wrapper) {
        return baseMapper.selectList(wrapper);
    }
}
